package com.yjd.comm.device.service;

import com.yjd.comm.base.service.IBaseService;
import com.yjd.comm.device.model.FeedbackModel;

/**
 * <b>description</b>：手机端反馈业务接口<br>
 * <b>time</b>：2015-04-06 13:06:14 <br>
 * <b>author</b>：  lindy lindytem@126.com
 */
public interface IFeedbackService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public FeedbackModel insert(FeedbackModel model) throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(FeedbackModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param id_feedback
	 * @return
	 * @throws Exception
	 */
	public int delete(Long id_feedback) throws Exception;

}
